import { api } from '../boot/axios'

export function getNotifyList() {
    return api.get('/notify/getAllNotify')
}
export function getNotifyById(id) {

}
export function addNew(params) {
    return api({
        url: '/notify/addNotify',
        method: 'post',
        data: params
    })
}

export function deleteNotify(id) {
    return api({
        url: '/notify/deleteById?id=' + id,
        method: 'DELETE'
    })
}